def send_message(route):
    travel_time = sum(route) / 300_000
    delay_time = 0.5 * (len(route) - 1)
    return round(travel_time + delay_time, 4)


if __name__ == '__main__':
    print(send_message([300000, 300000]))
    print(send_message([384400, 384400]))